
package org.xteam.pascal.parser.ast;

import org.xteam.parser.runtime.Span;

public class FunctionCall extends Statement {
	
	public org.xteam.parser.runtime.reflect.AstNodeType getNodeType() {
		return PascalAstPackage.INSTANCE.getFunctionCallType();
	}
	
	protected Identifier name;
	protected org.xteam.parser.runtime.AstList<Expression> parameters;
	
	public FunctionCall(Span span, Identifier name,org.xteam.parser.runtime.AstList<Expression> parameters) {
		super(span);
		this.name = name;
		this.parameters = parameters;
	}
	
	
	public Identifier getName() {
		return name;
	}
	
	public void setName(Identifier name) {
		this.name = name;
	}
	
	public org.xteam.parser.runtime.AstList<Expression> getParameters() {
		return parameters;
	}
	
	public void setParameters(org.xteam.parser.runtime.AstList<Expression> parameters) {
		this.parameters = parameters;
	}
	

	public void visit(IPascalVisitor visitor) {
		visitor.visitFunctionCall(this);
	}
}
